<script setup lang="ts">
import { Modal } from '@idmy/core'
import { Button } from '@idmy/ui'
import Create from './Create.vue'

const onOpen = () => {
  Modal.open({
    component: Create,
    position: 'right',
    title: 'test',
  })
}
const v = ref(true)
</script>

<template>
  <Button @click="onOpen"> 打开</Button>
</template>

<style scoped></style>
